﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EnCor.Security
{
    public abstract class IdentityMapper : IIdentityMapper
    {
        private string _Name;
        #region IIdentityMapper Members

        public abstract UserIdentity GetGlobalIdentity(UserIdentity localIdentity);

        public abstract UserIdentity GetLocalIdentity(UserIdentity globalIdentity);

        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                _Name = value;
            }
        }

        #endregion
    }
}
